package cz.su.pod.reservation.ldap;

import cz.su.pod.reservation.domain.LdapUser;

public interface LDAPClient {
	enum SearchCriteria {BY_ID, BY_LOGIN}
	
	LdapUser login(final String username, final String password);
	LdapUser search(final SearchCriteria criteria, final String value);
	
}
